-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Don't use remapped path when loading modules and include files #44940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
There's at least one Also, anywhere that converts strings to |
Thanks a lot for the PR, @philipc! I'll take a closer look shortly. |
Looks like an excellent start! Some comments:
This seems to be a spurious failure probably not related to your PR: #43402
Could you just add a FIXME comment to those and link to this PR? I don't think it's possible to invoke rustdoc with path remapping anyway.
Let's keep this PR focussed, I'd say. The other changes can still be done later. Some minor comments regarding the implementation:
Otherwise this looks great already! |
Is this something that should be possible though? Do distributions want to package the generated doc, and have the src links point to the remapped location? I'll address the other comments, thanks for reviewing. |
I could imagine so. But since the current |
I've updated Also added a FIXME for doctests, but not sure how useful it is. |
📌 Commit 9bbd7a3 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
Fixes bug reported in #41555 (comment).
cc @michaelwoerister